package com.hhsjdesign.dynamicui.core.widgetdata

import com.hhsjdesign.dynamicui.annoprocess.ADynamicUI
import com.hhsjdesign.dynamicui.annoprocess.AWidgetData
import com.hhsjdesign.dynamicui.core.property.widget.LinearLayoutProperty
import com.hhsjdesign.dynamicui.core.property.widget.ISpecPropertyTransformer
import com.hhsjdesign.dynamicui.core.property.widget.LinearLayoutVProperty
import org.json.JSONObject
@ADynamicUI
@AWidgetData(WidgetTypeConst.LAYOUT_LINEAR_VERTICAL)
class LinearLayoutVWidgetData :
    LayoutWidgetData<LinearLayoutVProperty>,
    ISpecPropertyTransformer<LinearLayoutVProperty> {

    constructor(jo: JSONObject) : super(jo)

    constructor(pageId: String) : super(JSONObject())

    override fun transformWidgetSpecProperty(): LinearLayoutVProperty {
        return specProperty as LinearLayoutVProperty
    }
}